package com.brainshare.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainshare.common.annotation.Excel;
import com.brainshare.common.core.domain.BaseEntity;

/**
 * 红包信息对象 red_packet_info
 * 
 * @author ruoyi
 * @date 2023-08-28
 */
public class RedPacketInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据库主键 */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 抢到的钱，单位分 */
    @Excel(name = "抢到的钱，单位分")
    private Long snatchMoney;

    /** 提现的钱，单位分 */
    @Excel(name = "提现的钱，单位分")
    private Long withdrawalMoney;

    /** 余额，单位分 */
    @Excel(name = "余额，单位分")
    private Long remindMoney;

    /** 全部提现剩余钱，单位分 */
    @Excel(name = "全部提现剩余钱，单位分")
    private Long totalWithdrawalRemindMoney;

    /** 是否删除0:未删除 1：已删除 */
    @Excel(name = "是否删除0:未删除 1：已删除")
    private Integer yn;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createUser;

    /** 更新者 */
    @Excel(name = "更新者")
    private String updateUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setSnatchMoney(Long snatchMoney) 
    {
        this.snatchMoney = snatchMoney;
    }

    public Long getSnatchMoney() 
    {
        return snatchMoney;
    }
    public void setWithdrawalMoney(Long withdrawalMoney) 
    {
        this.withdrawalMoney = withdrawalMoney;
    }

    public Long getWithdrawalMoney() 
    {
        return withdrawalMoney;
    }
    public void setRemindMoney(Long remindMoney) 
    {
        this.remindMoney = remindMoney;
    }

    public Long getRemindMoney() 
    {
        return remindMoney;
    }
    public void setTotalWithdrawalRemindMoney(Long totalWithdrawalRemindMoney) 
    {
        this.totalWithdrawalRemindMoney = totalWithdrawalRemindMoney;
    }

    public Long getTotalWithdrawalRemindMoney() 
    {
        return totalWithdrawalRemindMoney;
    }
    public void setYn(Integer yn) 
    {
        this.yn = yn;
    }

    public Integer getYn() 
    {
        return yn;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("phone", getPhone())
            .append("snatchMoney", getSnatchMoney())
            .append("withdrawalMoney", getWithdrawalMoney())
            .append("remindMoney", getRemindMoney())
            .append("totalWithdrawalRemindMoney", getTotalWithdrawalRemindMoney())
            .append("yn", getYn())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
